{* 
//////
//    @version [ Masterton ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
//////
//    hwdVideoShare Template System:::This template system uses the Smarty Template Engine. 
//    For full documentation, including syntax usage please refer to http://www.smarty.net 
//    or our website at http://www.hwdmediashare.co.uk   
//////
//    This file generates the display for the featured videos page.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $print_videolist.......Only set if there are any featured videos
//    -- $list..................Array containing the featured videos
//////
*}

{include file='header.tpl'}

<div class="hwdmodule-h2">
<h2>{$smarty.const._HWDVIDS_FEATURED_VIDEOS}</h2>
      <div class="list">
        {if $print_videolist}
        <div class="box">
          {foreach name=outer item=data from=$list}
	  <div style="width: 25%; float:left;">
	  {include file="video_list_simple.tpl"}
	  </div>
	  {if $smarty.foreach.outer.last}
	     <div style="clear:both;"></div>
	  {elseif $smarty.foreach.outer.index % 4-3 == 0}
	     <div style="clear:both;"></div></div><div class="box">
	  {/if}
          {/foreach}
        </div>
        {$pageNavigation}
        {else}
          <div class="standard"><div class="padding">{$smarty.const._HWDVIDS_INFO_NFEATV}</div></div>
        {/if}
      </div> 
</div>

{include file='footer.tpl'}
